MathPDE: A Package to Solve PDEs by Finite Differences

نویسندگان

  • K. Sheshadri
  • Peter Fritzson
چکیده

A package for solving time-dependent partial differential equations (PDEs), MathPDE, is presented. It implements finitedifference methods. After making a sequence of symbolic transformations on the PDE and its initial and boundary conditions, MathPDE automatically generates a problem-specific set of Mathematica functions to solve the numerical problem, which is essentially a system of algebraic equations. MathPDE then internally calls MathCode, a Mathematica-to-C++ code generator, to generate a C++ program for solving the algebraic problem, and compiles it into an executable that can be run via MathLink. When the algebraic system is nonlinear, the Newton– Raphson method is used and SuperLU, a library for sparse systems, is used for matrix operations. This article discusses the wide range of PDEs that can be handled by MathPDE, the accuracy of the finite-difference schemes used, and importantly, the ability to handle both regular and irregular spatial domains. Since a standalone C++ program is generated to compute the numerical solution, the package offers portability.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On the convergence of the homotopy analysis method to solve the system of partial differential equations

One of the efficient and powerful schemes to solve linear and nonlinear equations is homotopy analysis method (HAM). In this work, we obtain the approximate solution of a system of partial differential equations (PDEs) by means of HAM. For this purpose, we develop the concept of HAM for a system of PDEs as a matrix form. Then, we prove the convergence theorem and apply the proposed method to fi...

متن کامل

Numerical Optimal Control of Parabolic Pdes Using Dasopt

This paper gives a preliminary description of DASOPT, a software system for the optimal control of processes described by time-dependent partial differential equations (PDEs). DASOPT combines the use of efficient numerical methods for solving differential-algebraic equations (DAEs) with a package for large-scale optimization based on sequential quadratic programming (SQP). DASOPT is intended fo...

متن کامل

A New Technique of Reduce Differential Transform Method to Solve Local Fractional PDEs in Mathematical Physics

In this manuscript, we investigate solutions of the partial differential equations (PDEs) arising inmathematical physics with local fractional derivative operators (LFDOs). To get approximate solutionsof these equations, we utilize the reduce differential transform method (RDTM) which is basedupon the LFDOs. Illustrative examples are given to show the accuracy and reliable results. Theobtained ...

متن کامل

Solving partial differential equations, using R package ReacTran

R -package ReacTran (Soetaert and Meysman 2009) contains functions to solve reactivetransport equations, as used e.g. in the environmental sciences. Essentially, it 1. Provides functions that subdivide the spatial extent into a number of discrete grid cells. 2. Approximates the advective-diffusive transport term by finite differences or finite volumes. The main package vignette (Soetaert and Me...

متن کامل

Solving PDEs with Intrepid

Intrepid is a Trilinos package for advanced discretizations of Partial Differential Equations (PDEs). The package provides a comprehensive set of tools for local, cell-based construction of a wide range of numerical methods for PDEs. This paper describes the mathematical ideas and software design principles incorporated in the package. We also provide representative examples showcasing the use ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012